package com.qys.livesMall.anchor.constants;

/**
 * Created by IntelliJ IDEA.
 * User: dp
 * Date: 2023/05/22
 * Time: 16:34
 * DESCRIPTION:
 */
public class RedisConstant {

    /**创建直播间延时*/
    public static final String ANCHOR_CREATE_LIVES_ROOM_DELAY = "anchor:lives:createRoom:";

    /**直播间礼物排行*/
    public static final String LIVE_ROOM_GIFT_LIST = "live:room:giftList:";

    /**所有直播间一小时点赞排行*/
    public static final String LIVE_ROOM_ONE_HOURS_LIKE_LIST = "live:room:oneHours:likeList:";

    /**
     * 在线直播间列表
     */
    public static final String ONLINE_LIVE_ROOM_LIST ="ANCHOR:LIVES:ONLINE:";

    /**
     * 直播间观看人数
     */
    public static final String LIVE_ONLINE_NUMBER_PREFIX = "live:onlineNumber:";

    /**
     * 直播场次商品展示记录
     */
    public static final String LIVE_GOODS_SHOW = "live:goodsShow:";

    /**
     * 直播场次商品带货心愿
     */
    public static final String LIVE_GOODS_WISH = "live:goodsWish:";

    /**
     * 直播场次禁言状态
     */
    public static final String LIVE_DISABLE_SEND_MSG = "live:disableSendMsg:";

    /**
     * 直播场次商品编号记录
     */
    public static final String LIVE_GOODS_NUMBER = "live:goodsNumber:";
    /**
     * 随机获取直播场次记录
     */
    public static final String LIVE_RANDOM_NUMBER = "live:randomNumber:";
    /**
     * 拉流任务缓存前缀
     */
    public static final String AUTOMATIC_LIVE = "automatic_live:";

    /**
     * 暂停直播缓存前缀
     */
    public static final String SUSPEND_LIVE = "suspend_live:";

}
